Building Objects in Rayshade
- Primitives
- box, blob, sphere, triangle, polygon,
heightfield, plane, cylinder, cone, disc, arbitrary 2D images for texture
mapping
- CSG Objects
- More complex (Constructive Solid Geometry) objects
constructed by union, intersection, difference operations. Take care not to
build inconsistent CSG models (not all primitives enclose space, don't line
up flat surfaces exactly).
- Spatial Transforms
- translate, rotate, scale, transform matrix
may be applied to objects (and textures)
- Spatial locality
- Can specify objects as lying within an
arbitrary voxel (3D grid point) for more efficient rendering.